Glossary Item Box
SimpleMovingAverage(Vector, Periods)
SMA(Vector, Periods)
MA Type Argument ID: SIMPLE
Overview
The Simple Moving Average is simply an average of values over a specified period of time.
Interpretation
A Moving Average is most often used to average values for a smoother representation of the underlying price or indicator.
Example
CLOSE > SMA(CLOSE, 30)
Evaluates to true when the close is greater than a 30-day SMA.